package com.sportswork.sportswork.core.mapper;



import com.sportswork.sportswork.core.entity.Classroom;

import java.util.List;
import java.util.Map;

/**
 * @author dengwei
 * @date 2020/1/9 14:43
 * @description
 */
public interface ClassMapper {
    void addClassroom(Classroom classroom);
    Classroom getClassroom(String id);
    Map<String,Object> getKtCount(String id);
    Classroom getClassroomByNumber(String number);
    List<Classroom> getAllClassrooms(String number, String name,String xsid);
    void deleteClassroom(String id);
    void deleteClassrooms(String ids);
    void setClassroom(Classroom classroom);
    long getCount();
}
